package com.dy.mongo.document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 人物文字说明，存储于 person_texts 集合。
 */
@Document(collection = "person_texts")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PersonText {

    @Id
    private String id;

    private Long csvId;

    private String title;
    private String content; // 文字描述，可存储 Markdown/HTML
} 